package cn.kelvin.oocl.daytwo;

public class Son extends Father{
	public Son() {
		super();
	}
	
	static {
		System.out.println("Son static");
	}
	
	public void work(String s){
		System.out.println("String");
	}
	
	public void work(Integer i){
		System.out.println("Integer");
	}
	
	public void work(Long l){
		System.out.println("Long");
	}
	
	public void work(Object o){
		System.out.println("Object");
	}
	
	public static void main(String[] args) {
		Son son = new Son();
		son.work(255);
//		Father son = new Son();
	}
}
